﻿using System;
using System.Collections.Generic;
using System.ServiceModel;
using Budget.Wcf.Core.Dto.Statistics;

namespace Budget.Wcf.Core.Interfaces
{
    [ServiceContract]
    public interface IStatisticsService
    {
        [OperationContract]
        IList<StatisticByCategoryData> GetStatisticsByCategories(DateTime from, DateTime to);

        [OperationContract]
        IList<StatisticByYearData> GetStatisticsByYear();

        [OperationContract]
        IList<StatisticByMonthData> GetStatisticsByMonthes(DateTime from, DateTime to);
    }
}
